using UnityEngine;
using System.Collections;

public class afterglowScript : MonoBehaviour {
	public float life = 0.0f;
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		life += Time.deltaTime;
		if(life >= 1.0f){
			GameObject.Destroy(gameObject);
		}
	}
}
